
#ifndef _UARTXX_H_DFJDLJFDJFO1321421
#define _UARTXX_H_DFJDLJFDJFO1321421

#include <stdint.h>
#include "stm32l4xx.h"

#define DBG_UART					USART2
#define DBG_UART_IRQn				USART2_IRQn
#define DBG_UART_IRQHandler			USART2_IRQHandler


void initUart(uint32_t baud);
void wrTHR(uint32_t data);
void intTHR(uint32_t sta);


#endif

